import * as types from './mutation-types'
import {loadOrder,saveOrder,deleteOrder} from 'common/js/cache'


export const saveUserOrder = function({commit},query) {
    

    commit(types.SET_ORDER,saveOrder(query))
}

export const deleteUserOrder = function({commit},query) {
    commit(types.SET_ORDER,deleteOrder(query))
}
